SOKOBAN-SHORT PROGRAM DESCRIPTION

This program uses methods. Between of the most important methods belongs: Level1-4. Those methods draw border, boxes, color spots, door and put Baltie to the selected position. Other important method is “IsBoxInFrontOfBaltie”. This method asks if there is either a box in front of Baltie, color spot or empty space. When Baltie gets the answer he moves the box or stays on the same place. The program uses a lot of variables which store important values for the program. Important variables are DoorCoordinateX and DoorCoordinateY, which set coordinates for the position of door. The program uses as well Baltie properties X and Y, which always move the Baltie to correct coordinates.